from PyQt5.QtCore import QObject
from .chunk import Chunk
class DataManager(QObject):
    def __init__(self):
        self.chunk_list: list[Chunk] = []
        self.max_function_consuming_time = 0
        self.sentence_max_consuming_time = 0
        self.sentence_max_time = 0


g_data_manager = DataManager()

def get_data_manager():
    return g_data_manager